import React from "react";
import { StackNavigator } from "react-navigation";
import MainScreen from "./pages/mainScreen";
import SearchScreen from "./pages/searchScreen";

const App = StackNavigator(
  {
    Main: {
      screen: MainScreen
    },
    Search: { screen: SearchScreen }
  },
  {
    initialRouteName: "Main",
    headerMode: "none"
  }
);

export default App;
